package com.jf3q.common.vo;

import com.jf3q.common.domain.EduChapter;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;

@Data
public class CourseWebVo implements Serializable {
    private String id;
    @Schema(description ="课程标题")
    private String title;
    @Schema(description ="课程销售价格，设置为0则可免费观看")
    private BigDecimal price;
    @Schema(description ="总课时")
    private Integer lessonNum;
    @Schema(description ="课程封面图片路径")
    private String cover;
    @Schema(description ="销售数量")
    private Long buyCount;
    @Schema(description ="浏览数量")
    private Long viewCount;
    @Schema(description ="课程简介")
    private String description;
    @Schema(description ="讲师ID")
    private String teacherId;
    @Schema(description ="讲师姓名")
    private String teacherName;
    @Schema(description ="讲师资历,一句话说明讲师")
    private String intro;
    @Schema(description ="讲师头像")
    private String avatar;
    @Schema(description ="一级分类ID")
    private String subjectLevelOneId;
    @Schema(description ="一级分类名称")
    private String subjectLevelOne;
    @Schema(description ="二级分类ID")
    private String subjectLevelTwoId;
    @Schema(description ="二级分类名称")
    private String subjectLevelTwo;
    private List<EduChapter> chapterVideoList=new ArrayList<>();
}
